﻿<Window x:Class="structurizer.lengthWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Enter the Glue Length" Height="300" Width="300" WindowStartupLocation="CenterOwner">
    <Grid>
        <!-- Accept or Cancel -->
        <StackPanel Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="4">
            <Label Height="25" Grid.Row="0" Grid.Column="0">Choose a length type for the DNA glues:</Label>
            <RadioButton Content="Let the Software decide optimal length" HorizontalAlignment="Left" VerticalAlignment="Top" IsChecked="True" Name="autoLength" Click="autoLength_Checked" />
            <RadioButton Content="Choose my own length (enter below)" HorizontalAlignment="Left" VerticalAlignment="Top" Name="manLength" Checked="manLength_Checked" />
            <Label Height="25">Length of A-type glues:</Label>
            <TextBox Height="28" Name="lengthA" Width="50" Text="" AutoWordSelection="False" IsEnabled="False" />
            <Label Content="Length of B-type glues:" Height="25" />
            <TextBox AutoWordSelection="False" Height="28" Name="lengthB" Text="" Width="50" IsEnabled="False" />
            <Label Content="Length of F-type glues:" Height="25" />
            <TextBox AutoWordSelection="False" Height="28" Name="lengthF" Text="" Width="50" IsEnabled="False" />
        </StackPanel>
        <Button Name="okButton" Click="okButton_Click" IsDefault="True" Margin="194,234,0,0">OK</Button>

    </Grid >
</Window>
